import service from "@/utils/request";

// @Tags SysCaipiaoNumbers
// @Summary 创建SysCaipiaoNumbers
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.SysCaipiaoNumbers true "创建SysCaipiaoNumbers"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /sysCaipiaoNumbers/createSysCaipiaoNumbers [post]
export const createSysCaipiaoNumbers = (data) => {
  return service({
    url: "/sysCaipiaoNumbers/createSysCaipiaoNumbers",
    method: "post",
    data,
  });
};

// @Tags SysCaipiaoNumbers
// @Summary 删除SysCaipiaoNumbers
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.SysCaipiaoNumbers true "删除SysCaipiaoNumbers"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /sysCaipiaoNumbers/deleteSysCaipiaoNumbers [delete]
export const deleteSysCaipiaoNumbers = (data) => {
  return service({
    url: "/sysCaipiaoNumbers/deleteSysCaipiaoNumbers",
    method: "delete",
    data,
  });
};

// @Tags SysCaipiaoNumbers
// @Summary 删除SysCaipiaoNumbers
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除SysCaipiaoNumbers"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /sysCaipiaoNumbers/deleteSysCaipiaoNumbers [delete]
export const deleteSysCaipiaoNumbersByIds = (data) => {
  return service({
    url: "/sysCaipiaoNumbers/deleteSysCaipiaoNumbersByIds",
    method: "delete",
    data,
  });
};

// @Tags SysCaipiaoNumbers
// @Summary 更新SysCaipiaoNumbers
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.SysCaipiaoNumbers true "更新SysCaipiaoNumbers"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /sysCaipiaoNumbers/updateSysCaipiaoNumbers [put]
export const updateSysCaipiaoNumbers = (data) => {
  return service({
    url: "/sysCaipiaoNumbers/updateSysCaipiaoNumbers",
    method: "put",
    data,
  });
};

// @Tags SysCaipiaoNumbers
// @Summary 用id查询SysCaipiaoNumbers
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.SysCaipiaoNumbers true "用id查询SysCaipiaoNumbers"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /sysCaipiaoNumbers/findSysCaipiaoNumbers [get]
export const findSysCaipiaoNumbers = (params) => {
  return service({
    url: "/sysCaipiaoNumbers/findSysCaipiaoNumbers",
    method: "get",
    params,
  });
};

// @Tags SysCaipiaoNumbers
// @Summary 分页获取SysCaipiaoNumbers列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取SysCaipiaoNumbers列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /sysCaipiaoNumbers/getSysCaipiaoNumbersList [get]
export const getSysCaipiaoNumbersList = (params) => {
  return service({
    url: "/sysCaipiaoNumbers/getSysCaipiaoNumbersList",
    method: "get",
    params,
  });
};

// @Tags GetLengSysCaipiaoNumbers
// @Summary 获取热冷彩票数据的统计
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.SysCaipiaoNumbersSearch true "分页获取SysCaipiaoNumbers列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /sysCaipiaoNumbers/GetLengSysCaipiaoNumbers [get]
export const getLengSysCaipiaoNumbers = (params) => {
  return service({
    url: "/sysCaipiaoNumbers/GetLengSysCaipiaoNumbers",
    method: "get",
    params,
  });
};
